package com.xiaolai.iodemo.Validate.annotaction;

import com.xiaolai.iodemo.Validate.core.HandlerDefinition;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by Administrator on 2015/12/8.
 *  标记需要验证的字段
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)

public @interface Validate {
    HandlerDefinition value()default HandlerDefinition.DEFAULT;
}
